/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.util.*;
/**
 *
 * @author Oscar
 */

//clase que contiene la logica sobre JavaCollectionFrameWork_set
public class FactoryConjuntos {
    
    //Set _miSet;
    public Set ObtenerSet(String opcion){
        if(opcion.equals("1")){
			return new LinkedHashSet<String>();
		}
		if(opcion.equals("2")){
			return new HashSet<String>();
		}
		
		else{
			return new TreeSet<String>();
		}
        
        
    }
}
